package com.navinfo.tripanalysis.common.arithmetic.custom;


import com.navinfo.tripanalysis.common.arithmetic.GasSteady;
import lombok.Data;

/**
 * 油门稳定算法{@link GasSteady}的统计变量
 * @author 水哥
 */
@Data
public class VarGasSteady {

    /**
     * 油门稳定累积次数
     */
    private int number;

    /**
     * 油门稳定累计毫秒数
     */
    private int timeMs;

    /**
     * 单次累计时长
     */
    private int cacheTimeMsInOneMinutes;

    /**
     * 上个点的油门开合度
     */
    private double perAccelerator;

    @Override
    public String toString() {
        return "VarSteadyAccelerator{" +
                "number=" + number +
                ", timeMs=" + timeMs +
                ", cacheTimeMsInOneMinutes=" + cacheTimeMsInOneMinutes +
                ", perAccelerator=" + perAccelerator +
                '}';
    }
}
